#ifndef __TRAINER_H
#define __TRAINER_H

#include "program.h"

class Trainer
{
	char* name;
	Program theProgram;

	const Trainer & operator=(const Trainer & T);				     //#WD[2] RonnyR 3.12
	Trainer(const Trainer& other);

public:
	Trainer(const char* n);
	~Trainer();


	void setName(const char* name);
	const char*    getName()    const {return name;}
	const Program& getProgram() const {return theProgram;}

	void addExercise(const Exercise& newExercise);

	bool equals(const Trainer& other) const;

    friend ostream & operator<<(ostream & os,const Trainer & T); //#WD[2] RonnyR 3.12

};

#endif // __TRAINER_H